Skip to content

temporal worker deployment create|create-version#990

Merged
chaptersix merged 2 commits intotemporalio:mainfrom
jaypipes:jaypipes/serverless
Apr 22, 2026
Merged

temporal worker deployment create|create-version#990
chaptersix merged 2 commits intotemporalio:mainfrom
jaypipes:jaypipes/serverless

Conversation

@jaypipes
Copy link
Copy Markdown
Contributor

Adds implementation of the temporal worker deployment create and temporal worker deployment create-version CLI commands using only direct gRPC API calls, not the sdk-go client code.

Adds some basic unit tests for both commands though due to the server-side validation of proper AWS IAM credentials, the happy-path temporal worker deployment create-version call with AWS Lambda compute config is skipped until such time as we can figure out adding real AWS test fixtures.

@jaypipes jaypipes requested a review from a team as a code owner April 21, 2026 17:10
@jaypipes jaypipes force-pushed the jaypipes/serverless branch 2 times, most recently from 32f6754 to e943fca Compare April 21, 2026 17:35
Comment thread go.mod Outdated
sigs.k8s.io/yaml v1.6.0 // indirect
)

replace github.com/temporalio/cli/cliext => ./cliext
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Ideally there's no change in this file.

@jaypipes jaypipes force-pushed the jaypipes/serverless branch from e943fca to 0ad32e3 Compare April 21, 2026 18:08
@rossnelson
Copy link
Copy Markdown

We need to bump the ui-server dependency to 2.48.4

This way the dev server will have feature parody with the CLI

@jaypipes jaypipes force-pushed the jaypipes/serverless branch from 0ad32e3 to 62a872c Compare April 21, 2026 20:08
@jaypipes
Copy link
Copy Markdown
Contributor Author

We need to bump the ui-server dependency to 2.48.4

This way the dev server will have feature parody with the CLI

done!

jaypipes and others added 2 commits April 22, 2026 16:07
Adds implementation of the `temporal worker deployment create` and
`temporal worker deployment create-version` CLI commands using only
direct gRPC API calls, not the sdk-go client code.

Adds some basic unit tests for both commands though due to the
server-side validation of proper AWS IAM credentials, the happy-path
`temporal worker deployment create-version` call with AWS Lambda compute
config is skipped until such time as we can figure out adding real AWS
test fixtures.

Signed-off-by: Jay Pipes <jay.pipes@temporal.io>
The previous code placed mutating `temporal` CLI calls inside calls to
`SharedServerSuite.EventuallyWithT`. This meant that calls to `temporal
worker deployment create` or `temporal worker deployment create-version`
were erroneously being retried in a tight loop. The asserting read-only
calls such as `temporal worker deployment describe-version` are the
things that need to be in the EventuallyWithT retrying closure, not the
mutating calls.

Signed-off-by: Jay Pipes <jay.pipes@temporal.io>
@jaypipes jaypipes force-pushed the jaypipes/serverless branch from e985778 to 4096124 Compare April 22, 2026 20:25
@chaptersix chaptersix merged commit d8bf9c8 into temporalio:main Apr 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants